package com.camel.docker.config;

import lombok.Data;
import org.apache.commons.net.ftp.FTP;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "ftp")
public class FTPConfig {
    private String username;
    private String password;
    private String host;
    private Integer port;
    private String baseUrl;
    private Integer passiveMode = FTP.BINARY_FILE_TYPE;
    private String encoding = "UTF-8";
    private int clientTimeout = 120000;
    private int bufferSize;
    private int transferFileType = FTP.BINARY_FILE_TYPE;
    private boolean renameUploaded;
    private int retryTime;
}
